<div class="mymsg" id='row_<?= $row['thread_id']?>'>
		<?$auhor_name = sms_util_comment::getUserInfoByUid($row['authorid'],'username')?>
		<?$user_name = (self::$login['uid'] == $row['author_id'])?'我':sms_util_comment::getUserInfoByUid($row['author_id'],'username')?>
	<div class="msg-main-all msg-main-comment">
		<div class="msg-title">	
            <div class="msg-tools c-666"><?= Util::formatTime($row['add_time'])?></div>
            <?if($row['app']=='bet'):?>
            <?$resinfo = sms_util_comment::getResourceInfo($row['classname'],$row['rid'],$row['app'],$row['control'],$row['act'],$row['authorid']);?>
            <div class="msg-time  msg-comment-time"><a href="/?uid=<?=$row['author_id']?>" class="username"><?= $user_name?></a>对竞猜 <a href="<?=self::_makeURL($row['app'],$row['control'],$row['act'],array('id'=>$row['rid']))?>" target="_blank"><script>comments.breakWord("<?=$resinfo['title']?>",28);</script> </a>发表评论：</div>
             <?else:?>
            <div class="msg-time  msg-comment-time"><a href="/?uid=<?=$row['author_id']?>" class="username"><?= $user_name?></a>对<a href="/?uid=<?=$row['authorid']?>" class="username"><?= $auhor_name?></a>的<?=$row['typename']?>发表评论：</div>	
            <?endif;?>
		</div>
		<div class="msg-content">
			<? sms_util_comment::echoResourceHtml($row['classname'],$row['rid'],$row['app'],$row['control'],$row['act'],$row['authorid']);?>
            <div class="msg-content-right">
               <div class= "msg-content-right-icon-triangle"></div><!--msg-content-right-icon-triangl-->
                   <div class="msg-content-right-comment">
                      <div class="msg-content-right-comment-text">
                          <script>
							UBBCode.output("<?= sms_util_text::formatOutputContent($row['content'])?>");
						  </script> 
                       </div>
                       <?if($row['recoment']):?>
                         <?foreach($row['recoment'] as $recom):?>
                         	<? include('part_recomm_reply_row.phtml');?>
						<?endforeach;?>	                        
                        <?endif;?>
                        <div class="a-r-bottom">
                        <a href="javascript:;" onclick="comments.del_comment('<?=$row['thread_id']?>')">删除</a>
                        <span class="spacing-line">|</span>
                        <a href="javascript:;" onclick="comments.show_reply('reply_<?=$row['thread_id']?>')">回复</a> 	
                        </div>
                        <? include('recomment_edit.phtml');?>
                  </div><!--msg-content-right-comment-->
               </div><!--msg-content-right-->
             </div><!--msg-content-->
		</div><!--msg-main msg-main-comment-->
	</div><!--mymsg-->